﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.IModel;
using FantastPlatform.Framework.Core;

namespace FantastPlatform.Framework.IService
{
    public interface IPoliceStreetService:IDataService<IPoliceStreet>
    {
        void AddStreet(int policeId, int streetId);
        void RemoveStreet(int policeId, List<int> streetIds);
        IList<IStreet> GetStreetByPoliceId(int PoliceId);
        IList<IStreet> SearchStreet(string code, ConditionGroup group, int pageSize, int pageNum, out int totalRecords);
    
    }
}
